﻿using FlowCanvas;
using FlowCanvas.Nodes;
using UnityEngine;
using Yoozoo.Gameplay.Liberty.StreetEvent;

namespace Yoozoo.Gameplay.Liberty.Nodes
{
    public class GetHoldArenaCupUniqueId : PureFunctionNodeBase
    {
        protected override void OnRegisterPorts(FlowNode node)
        {
            node.AddValueOutput<int>("uniqueId", () => { return StreetFightEvent.Instance.HoldCupUniqueId; });
            node.AddValueOutput<float>("holdTimer", () => { return StreetFightEvent.Instance.HoldCupTimer; });
        }
    }
}